﻿using MediatR;
using Yuekao.Domain.API;

namespace Yuekao.API.Write.Command
{
    public class InstanceAddCommand:IRequest<APIResult<string>>
    {
        /// <summary>
        /// 流程标识符
        /// </summary>
        public string DefinitionId { get; set; }
        /// <summary>
        /// 流程版本号
        /// </summary>
        public int Version { get; set; }
        /// <summary>
        /// 流程设计标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 流程实例表单
        /// </summary>
        public string FormData {  get; set; }
        /// <summary>
        /// 发起人
        /// </summary>
        public string CreateName {  get; set; }
    }
}
